package com.dmap.userportrait.config;

import feign.Retryer;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Author liuying
 * @Description rpc连接配置
 * @Date 19:36 2018/6/14
 */
@Configuration
public class FeignConfiguration {
    @Bean
    public Retryer feignRetryer() {
        return new Retryer.Default(10000, 10000, 5);
    }
}
